---
hide_title: true
title: 'UnderlineExtension'
---

import Basic from '../../website/extension-examples/extension-underline/basic';

# `UnderlineExtension`

## Summary

The extension for adding underline marks to the editor.

## Usage

### Installation

This extension is installed for you when you install the main `remirror` package.

You can use the imports in the following way:

```ts
import { UnderlineExtension } from 'remirror/extensions';
```

The extension is provided by the `@remirror/extension-underline` package.

### Examples

<Basic />

## API

- [UnderlineExtension](../api/extension-underline)
